﻿@model Admin.Models.LoginViewModel
@{
    Layout = null;
}

<html xmlns="http://www.w3.org/1999/xhtml">
<!--Head-->
<head>
    <meta charset="utf-8" />
    <title>登录</title>
    <meta name="description" content="login page" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="shortcut icon" href="@Url.Content("~/assets/img/favicon.png")" type="image/x-icon">

    <!--Basic Styles-->
    <link href="@Url.Content("~/assets/css/bootstrap.min.css")" rel="stylesheet" />
    <link id="bootstrap-rtl-link" href="" rel="stylesheet" />
    <link href="@Url.Content("~/assets/css/font-awesome.min.css")" rel="stylesheet" />
    <!--Beyond styles-->
    <link id="beyond-link" href="@Url.Content("~/assets/css/beyond.min.css")" rel="stylesheet"/>

    <!--Basic Scripts-->
    <script src="@Url.Content("~/assets/js/jquery-2.0.3.min.js")"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")"></script>
</head>
<!--Head Ends-->
<!--Body-->
<body>
@using (Html.BeginForm("Login", "Account", new {ReturnUrl = ViewBag.ReturnUrl}, FormMethod.Post))
{
    @Html.AntiForgeryToken()
    <div class="login-container animated fadeInDown">
        <div class="loginbox bg-white">
            <div class="loginbox-title">用户登录</div>
            <div class="loginbox-textbox">
                @Html.TextBoxFor(m => m.Email, new {@class = "form-control", placeholder = "登录名"})
                @Html.ValidationMessageFor(m => m.Email, "", new {@class = "text-danger"})
            </div>
            <div class="loginbox-textbox">
                @Html.PasswordFor(m => m.Password, new {@class = "form-control", placeholder = "密码"})
                @Html.ValidationMessageFor(m => m.Password, "", new {@class = "text-danger"})
            </div>
            <div class="checkbox  loginbox-textbox">
                <label>
                    <input type="checkbox" checked="checked" name="RememberMe" value="true">
                    <span class="text">记住我</span>
                </label>
            </div>
            <div class="loginbox-submit">
                <input type="submit" class="btn btn-primary btn-block" value="登录">
            </div>
        </div>
    </div>
}
</body>
</html>